package bean;
//预约取药对象
public class ReservationObject {
    String name;
    String phonenumber;
    String IdNumber;
    String sex;
    String birthday;

    int age;

    public ReservationObject() {
    }

    public ReservationObject(String name, String phonenumber, String idNumber, String sex, String birthday, int age) {
        this.name = name;
        this.phonenumber = phonenumber;
        IdNumber = idNumber;
        this.sex = sex;
        this.birthday = birthday;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getIdNumber() {
        return IdNumber;
    }

    public void setIdNumber(String idNumber) {
        IdNumber = idNumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "ReservationObject{" +
                "name='" + name + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", IdNumber='" + IdNumber + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", age=" + age +
                '}';
    }
}
